package com.csdj.mapper;

import com.csdj.pojo.Streamer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StreamerMapper {
    public Streamer queryStreamerByNickName(String nickName);
    public List<Streamer> queryStreamerByCateGory(Integer category);
    public int addStreamer(Streamer streamer);
    public int deleteStreamer(Integer id);
}
